package com.anhry.www.safety.manage.oa.service;

import java.util.List;

import com.anhry.www.safety.manage.enterprise.bean.TbCorpInfo;
import com.anhry.www.safety.manage.oa.bean.TbOaNotice;
import com.anhry.www.safety.manage.oa.bean.TbOaNoticeUser;
import com.anhry.www.safety.manage.system.bean.TbUser;
import com.anhry.www.safety.util.dao.UtilDao;

public interface NoticeService {

	public abstract UtilDao getUtilDao();

	public abstract List<TbOaNotice> loadNoticeList(TbUser user,
			String beginTime, String endTime, String keyWord,
			final int startRow, final int size) throws Exception;

	public abstract List<TbOaNotice> loadNoticeList(String beginTime,
			String endTime, String keyWord, String sendUser, String hql,
			String isNots, String isEs, final int startRow, final int size)
			throws Exception;

	public abstract List<TbOaNoticeUser> loadInNoticeList(TbCorpInfo corp,
			String beginTime, String endTime, String keyWord,String isRead,
			final int startRow, final int size) throws Exception;

	public abstract List<TbOaNoticeUser> loadInNoticeList(TbCorpInfo corp,
			String isRead, int size) throws Exception;

	public abstract int getNotReadNoticeSize(TbUser user) throws Exception;

	public abstract void setIsRead(Long id) throws Exception;

}